package net.xdclass.controller.req;

import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema; // 引入 Schema 注解

/**
 * @author 姜阿木
 * @date 2025/5/15 17:38
 */
@Data
@Schema(description = "用户注册请求参数") // 类级别描述
public class AccountRegisterReq {

    /**
     * 用户名
     */
    @Schema(description = "用户名", example = "zhangsan", required = true)
    private String username;

    /**
     * 密码
     */
    @Schema(description = "登录密码", example = "123456", required = true)
    private String password;

    /**
     * 手机号
     */
    @Schema(description = "手机号", example = "13800138000", required = true)
    private String phone;

    /**
     * 头像
     */
    @Schema(description = "头像URL", example = "https://example.com/avatar.png", required = false)
    private String avatarUrl;

}
